home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix,comp.lang.c++
- Path: vixen.cso.uiuc.edu!uchinews!news
- From: samuels@noise.bsd.uchicago.edu (Jordan Samuels)
- Subject: Re: [Q] C++: STL & xlC
- In-Reply-To: peters@Physik.Uni-Augsburg.DE's message of Sun, 10 Mar 1996
- 19:34:10 GMT
- X-Nntp-Posting-Host: noise.bsd.uchicago.edu
- Message-ID: <tbbulswzhd.fsf@noise.bsd.uchicago.edu>
- To: peters@Physik.Uni-Augsburg.DE (Peter Schmitteckert)
- Followup-To: comp.unix.aix
- Sender: samuels@noise.bsd.uchicago.edu
- Organization: University of Chicago -- Academic Computing Services
- X-Newsreader: Gnus v5.0.8
- References: <Do2H0z.Doz@Yuri.CC.Uni-Augsburg.DE>
- Date: Tue, 19 Mar 1996 21:21:34 GMT
-
- I am also interested in finding out about compiling with STL on an
- AIX platform. Specifically, I am using:
-
- xlC version 1.1.2.25, AIX 3.2.5 IBM RS6000/590
-
- I am experiencing particular problems with tree.h, but I think they are due
- to the general problem that the xlC compiler chokes when it's asked to
- believe that a default constructor exists for a class specified in a
- template. To wit:
-
- "../stl/tree.h", line 56.1: 1540-222: (S) "rb_tree<int,pair<const int,char>,sel\
- ect1st<pair<const int,char>,int>,less<int> >::rb_tree_node" needs a constructor\
- because class member "value_field" needs a constructor initializer.
-
- This happens when I
-
- #include "map.h"
-
- and then
-
- map<int, char, less<int> > m;
-
- Thanks to anyone who can enlighten me.
-
- Jordan
-